package dreamdancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// 每日商店表时间概率
type DanceDailyStoreHours struct {
	Id           int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	DailyStoreId int64          `json:"daily_store_id" gorm:"column:daily_store_id;type:bigint;default:0;not null;comment:每日商店信息Id"`
	No           int64          `json:"no" gorm:"column:no;type:bigint;default:0;not null;comment:元素编号"`
	Weight       int64          `json:"weight" gorm:"column:weight;type:int;default:0;not null;comment:权重"`   // 权重
	Hours        int64          `json:"hours" gorm:"column:hours;type:int;default:0;not null;comment:时效（小时）"` // 时效，小时
	CreatedAt    time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt    time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt    gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
	IsUse        int64          `gorm:"-" json:"isUse"`
}
